# Begin: Custom commands for incoming e-mails BEFORE decryption log(1,'Begin: Custom commands for incoming e-mails BEFORE decryption'); if (compare('X-SEPPmail-STATUS', 'substitute', 'RESEND')) { log(1, 'decrypted e-mail, resent after content scanning, delivering without further actions'); rmheader('X-SEPPmail-STATUS'); if (!compare('subject','match','\[secure\]')) {tagsubject('[secure]'); tagsubject('[secure]'); } deliver(); } log(1,'End: Custom commands for incoming e-mails BEFORE decryption'); # End: Custom commands for incoming e-mails BEFORE decryption